package com.design.adapter;

public class Test {

    public static void main(String[] args) {
        Mobile mobile = new Mobile();
        V220Power v220Power=new V220Power();
        V5PowerAdapter v5PowerAdapter = new V5PowerAdapter(v220Power);
        mobile.inputPower(v5PowerAdapter);
    }

}
